package fr.mywiki.view.web.struts.action.structure;

import java.io.IOException;

import javax.ejb.FinderException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * Interface associated with <code>SelectSingleStructure</code>, enabling the
 * manipulation of the <code>SelectStructureController</code>.
 */
public interface SelectSingleStructureAction {
	/**
	 * The formular receives the chosen structure identifier and updates the
	 * structure name.
	 */
	public ActionForward structureSelected(ActionMapping mapping,
			ActionForm actionForm, HttpServletRequest request,
			HttpServletResponse response) throws FinderException, IOException;
}
